package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.ReceiptOrderDetail;

/**
 * 入库单详情Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-12
 */
public interface ReceiptOrderDetailMapper 
{
    /**
     * 查询入库单详情
     * 
     * @param id 入库单详情主键
     * @return 入库单详情
     */
    public ReceiptOrderDetail selectReceiptOrderDetailById(Long id);

    /**
     * 查询入库单详情
     *
     * @return 入库单详情
     */
    public List<ReceiptOrderDetail> selectReceiptOrderDetailByStatus(Long id);

    /**
     * 查询入库单详情
     *
     * @param receiptOrderDetail 入库单详情主键
     * @return 入库单详情
     */
    public ReceiptOrderDetail ReceiptOrderDetailByIdByitem(ReceiptOrderDetail receiptOrderDetail);

    /**
     * 查询入库单详情列表
     * 
     * @param receiptOrderDetail 入库单详情
     * @return 入库单详情集合
     */
    public List<ReceiptOrderDetail> selectReceiptOrderDetailList(ReceiptOrderDetail receiptOrderDetail);

    /**
     * 查询入库单详情列表
     *
     * @param id 入库单详情
     * @return 入库单详情集合
     */
    public List<ReceiptOrderDetail> selectReceiptOrderDetail(Long id);

    /**
     * 查询入库单详情列表
     *
     * @param id 入库单详情
     * @return 入库单详情集合
     */
    public List<Map<String,Object>> selectReceiptOrderIdList(Long id);

    /**
     * 新增入库单详情
     * 
     * @param receiptOrderDetail 入库单详情
     * @return 结果
     */
    public int insertReceiptOrderDetail(ReceiptOrderDetail receiptOrderDetail);

    /**
     * 修改入库单详情
     * 
     * @param receiptOrderDetail 入库单详情
     * @return 结果
     */
    public int updateReceiptOrderDetail(ReceiptOrderDetail receiptOrderDetail);

    /**
     * 修改入库单状态
     *
     * @param receiptOrderDetail 入库单详情
     * @return 结果
     */
    public int updateDetail(ReceiptOrderDetail receiptOrderDetail);

    /**
     * 修改入库单详情
     *
     * @param receiptOrderDetail 入库单详情
     * @return 结果
     */
    public int ReceiptOrderDetail(ReceiptOrderDetail receiptOrderDetail);

    /**
     * 删除入库单详情
     * 
     * @param id 入库单详情主键
     * @return 结果
     */
    public int deleteReceiptOrderDetailById(Long id);

    /**
     * 批量删除入库单详情
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteReceiptOrderDetailByIds(Long[] ids);

}
